package icu.qx.qc.domain.gbs;

import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

import java.math.BigDecimal;

/**
 * 物料配件对象 gbs_bom_material
 *
 * @author yong
 * @date 2024-06-21
 */
public class GbsBomMaterial extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * bm_bom编码
     */
    private String bmBomCode;

    /**
     * bm_bom版本
     */
    private String bmBomVersion;
    private GbsBom gbsBom;

    /**
     * 物料code
     */
    private String bmMaterialCode;
    private GbsGood gbsMaterial;

    /**
     * 使用量
     */
    @Excel(name = "使用量")
    private BigDecimal bmUse;

    public GbsBom getGbsBom() {
        return gbsBom;
    }

    public void setGbsBom(GbsBom gbsBom) {
        this.gbsBom = gbsBom;
    }

    public GbsGood getGbsMaterial() {
        return gbsMaterial;
    }

    public void setGbsMaterial(GbsGood gbsMaterial) {
        this.gbsMaterial = gbsMaterial;
    }

    public void setBmBomCode(String bmBomCode) {
        this.bmBomCode = bmBomCode;
    }

    public String getBmBomCode() {
        return bmBomCode;
    }

    public void setBmBomVersion(String bmBomVersion) {
        this.bmBomVersion = bmBomVersion;
    }

    public String getBmBomVersion() {
        return bmBomVersion;
    }

    public void setBmMaterialCode(String bmMaterialCode) {
        this.bmMaterialCode = bmMaterialCode;
    }

    public String getBmMaterialCode() {
        return bmMaterialCode;
    }

    public void setBmUse(BigDecimal bmUse) {
        this.bmUse = bmUse;
    }

    public BigDecimal getBmUse() {
        return bmUse;
    }

    @Override
    public String toString() {
        return "GbsBomMaterial{" +
                "bmBomCode='" + bmBomCode + '\'' +
                ", bmBomVersion='" + bmBomVersion + '\'' +
                ", gbsBom=" + gbsBom +
                ", bmMaterialCode='" + bmMaterialCode + '\'' +
                ", gbsMaterial=" + gbsMaterial +
                ", bmUse=" + bmUse +
                "} " + super.toString();
    }
}
